package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCategory;
import com.cskaoyan.market.vo.CategoryUpdateVo;
import com.cskaoyan.market.vo.CategoryVo;
import com.cskaoyan.market.vo.LabelValueVo;

import java.util.List;

public interface MarketCategoryService {
    List<CategoryVo> list();

    List<LabelValueVo> l1();

    int create(MarketCategory category);
    int update(MarketCategory category);

    int update(CategoryVo categoryVo);

    int update(CategoryUpdateVo categoryUpdateVo);

    int delete(int id);
}
